package com.socket.test1;

import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.nio.channels.SocketChannel;
import java.nio.channels.WritableByteChannel;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by buguniao on 16/4/11.
 */
public class Client {
    public static void main(String[] args) throws IOException {
        ExecutorService pool = Executors.newFixedThreadPool(1);
        pool.submit(new ClientTask(1));
    }
}
